package com.ruoyi.product.domain.Shopping;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 基础信息表对象 basic
 * 
 * @author ruoyi
 * @date 2024-07-29
 */
public class Basic extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 商品类型 */
    @Excel(name = "商品类型")
    private String type;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String productName;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 商品图片 */
    @Excel(name = "商品图片")
    private String image;

    /** 是否添加视频 */
    @Excel(name = "是否添加视频")
    private String addVideo;

    /** 视频 */
    @Excel(name = "视频")
    private String video;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 雪花id用于和其他表连接 */
    @Excel(name = "雪花id用于和其他表连接")
    private String basicSnowflakesId;

    /** 收藏量 */
    @Excel(name = "收藏量")
    private Long collection;

    /** 虚拟销量 */
    @Excel(name = "虚拟销量")
    private Long virtualSalesVolume;

    /** 商品分类 */
    @Excel(name = "商品分类")
    private String productClassify;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }
    public void setAddVideo(String addVideo) 
    {
        this.addVideo = addVideo;
    }

    public String getAddVideo() 
    {
        return addVideo;
    }
    public void setVideo(String video) 
    {
        this.video = video;
    }

    public String getVideo() 
    {
        return video;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Long getStatus()
    {
        return status;
    }
    public void setBasicSnowflakesId(String basicSnowflakesId) 
    {
        this.basicSnowflakesId = basicSnowflakesId;
    }

    public String getBasicSnowflakesId() 
    {
        return basicSnowflakesId;
    }
    public void setCollection(Long collection) 
    {
        this.collection = collection;
    }

    public Long getCollection() 
    {
        return collection;
    }
    public void setVirtualSalesVolume(Long virtualSalesVolume) 
    {
        this.virtualSalesVolume = virtualSalesVolume;
    }

    public Long getVirtualSalesVolume() 
    {
        return virtualSalesVolume;
    }
    public void setProductClassify(String productClassify) 
    {
        this.productClassify = productClassify;
    }

    public String getProductClassify() 
    {
        return productClassify;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("productName", getProductName())
            .append("unit", getUnit())
            .append("image", getImage())
            .append("addVideo", getAddVideo())
            .append("video", getVideo())
            .append("status", getStatus())
            .append("basicSnowflakesId", getBasicSnowflakesId())
            .append("collection", getCollection())
            .append("virtualSalesVolume", getVirtualSalesVolume())
            .append("productClassify", getProductClassify())
            .toString();
    }
}
